package com.gitee.cui.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 服务提供者主入口
 * 注册到zookeeper服务注册中心上
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022-03-05 11:16
 **/
@SpringBootApplication
// 该注解用于向使用consul或者zookeeper作为注册中心时注册服务
@EnableDiscoveryClient
public class PaymentMain8004 {

	public static void main(String[] args) {
		SpringApplication.run(PaymentMain8004.class, args);
	}
}
